#ifndef ADMINCOURSEFORM_H
#define ADMINCOURSEFORM_H

#include <QWidget>
#include "admindata.h"
#include "adminmain.h"
#include "adminoutsectform.h"
#include "Course.h"
#include "Professor.h"
#include "ClassSection.h"
#include <QDate>
#include "adminerrordialog.h"
#include "prdfform.h"
#include <QVector>

namespace Ui {
class AdminCourseForm;
}

class AdminCourseForm : public QWidget
{
    Q_OBJECT
    
public:
    explicit AdminCourseForm(QWidget *parent=0, AdminData *newData = 0);
    ~AdminCourseForm();
    
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();


    void on_pushButton_4_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_6_clicked();

    void on_pushButton_9_clicked();

    void on_pushButton_7_clicked();

    void on_pushButton_10_clicked();

    void on_pushButton_8_clicked();



    void on_addCourseButton_clicked();




    void on_listWidget_currentRowChanged(int currentRow);



    void on_pushButton_3_clicked();

private:
    Ui::AdminCourseForm *ui;

    AdminData *data;
    //list of courses
    QVector<Course> cList;

    //list of professors
    QVector<Professor> profList;




};

#endif // ADMINCOURSEFORM_H










